﻿using System.ComponentModel;
using nRoute.Components;
using System.Runtime.Serialization;

namespace nRoute.Samples.OfficerXcel.Model
{
    [DataContract]
    public class WorksheetRow 
        : INotifyPropertyChanged
    {

#region Declarations

        private string _a;
        private string _b;
        private string _c;
        private string _d;
        private string _e;
        private string _f;
        private string _g;
        private string _h;
        private string _i;
        private string _j;
        private string _k;
        private string _l;
        private string _m;
        private string _n;
        private string _o;
        private string _p;
        private string _q;
        private string _r;
        private string _s;
        private string _t;
        private string _u;
        private string _v;
        private string _w;
        private string _x;
        private string _y;
        private string _z;

#endregion

#region Properties

        [DataMember]
        public string A
        {
            get { return _a; }
            set
            {
                if (_a != value)
                {
                    _a = value;
                    PropertyChanged.Notify(() => A);
                }
            }
        }

        [DataMember]
        public string B
        {
            get { return _b; }
            set
            {
                if (_b != value)
                {
                    _b = value;
                    PropertyChanged.Notify(() => B);
                }
            }
        }

        [DataMember]
        public string C
        {
            get { return _c; }
            set
            {
                if (_c != value)
                {
                    _c = value;
                    PropertyChanged.Notify(() => C);
                }
            }
        }

        [DataMember]
        public string D
        {
            get { return _d; }
            set
            {
                if (_d != value)
                {
                    _d = value;
                    PropertyChanged.Notify(() => D);
                }
            }
        }

        [DataMember]
        public string E
        {
            get { return _e; }
            set
            {
                if (_e != value)
                {
                    _e = value;
                    PropertyChanged.Notify(() => E);
                }
            }
        }

        [DataMember]
        public string F
        {
            get { return _f; }
            set
            {
                if (_f != value)
                {
                    _f = value;
                    PropertyChanged.Notify(() => F);
                }
            }
        }

        [DataMember]
        public string G
        {
            get { return _g; }
            set
            {
                if (_g != value)
                {
                    _g = value;
                    PropertyChanged.Notify(() => G);
                }
            }
        }

        [DataMember]
        public string H
        {
            get { return _h; }
            set
            {
                if (_h != value)
                {
                    _h = value;
                    PropertyChanged.Notify(() => H);
                }
            }
        }

        [DataMember]
        public string I
        {
            get { return _i; }
            set
            {
                if (_i != value)
                {
                    _i = value;
                    PropertyChanged.Notify(() => I);
                }
            }
        }

        [DataMember]
        public string J
        {
            get { return _j; }
            set
            {
                if (_j != value)
                {
                    _j = value;
                    PropertyChanged.Notify(() => J);
                }
            }
        }

        [DataMember]
        public string K
        {
            get { return _k; }
            set
            {
                if (_k != value)
                {
                    _k = value;
                    PropertyChanged.Notify(() => K);
                }
            }
        }

        [DataMember]
        public string L
        {
            get { return _l; }
            set
            {
                if (_l != value)
                {
                    _l = value;
                    PropertyChanged.Notify(() => L);
                }
            }
        }

        [DataMember]
        public string M
        {
            get { return _m; }
            set
            {
                if (_m != value)
                {
                    _m = value;
                    PropertyChanged.Notify(() => M);
                }
            }
        }

        [DataMember]
        public string N
        {
            get { return _n; }
            set
            {
                if (_n != value)
                {
                    _n = value;
                    PropertyChanged.Notify(() => N);
                }
            }
        }

        [DataMember]
        public string O
        {
            get { return _o; }
            set
            {
                if (_o != value)
                {
                    _o = value;
                    PropertyChanged.Notify(() => O);
                }
            }
        }

        [DataMember]
        public string P
        {
            get { return _p; }
            set
            {
                if (_p != value)
                {
                    _p = value;
                    PropertyChanged.Notify(() => P);
                }
            }
        }

        [DataMember]
        public string Q
        {
            get { return _q; }
            set
            {
                if (_q != value)
                {
                    _q = value;
                    PropertyChanged.Notify(() => Q);
                }
            }
        }

        [DataMember]
        public string R
        {
            get { return _r; }
            set
            {
                if (_r != value)
                {
                    _r = value;
                    PropertyChanged.Notify(() => R);
                }
            }
        }

        [DataMember]
        public string S
        {
            get { return _s; }
            set
            {
                if (_s != value)
                {
                    _s = value;
                    PropertyChanged.Notify(() => S);
                }
            }
        }

        [DataMember]
        public string T
        {
            get { return _t; }
            set
            {
                if (_t != value)
                {
                    _t = value;
                    PropertyChanged.Notify(() => T);
                }
            }
        }

        [DataMember]
        public string U
        {
            get { return _u; }
            set
            {
                if (_u != value)
                {
                    _u = value;
                    PropertyChanged.Notify(() => U);
                }
            }
        }

        [DataMember]
        public string V
        {
            get { return _v; }
            set
            {
                if (_v != value)
                {
                    _v = value;
                    PropertyChanged.Notify(() => V);
                }
            }
        }

        [DataMember]
        public string W
        {
            get { return _w; }
            set
            {
                if (_w != value)
                {
                    _w = value;
                    PropertyChanged.Notify(() => W);
                }
            }
        }

        [DataMember]
        public string X
        {
            get { return _x; }
            set
            {
                if (_x != value)
                {
                    _x = value;
                    PropertyChanged.Notify(() => X);
                }
            }
        }

        [DataMember]
        public string Y
        {
            get { return _y; }
            set
            {
                if (_y != value)
                {
                    _y = value;
                    PropertyChanged.Notify(() => Y);
                }
            }
        }

        [DataMember]
        public string Z
        {
            get { return _z; }
            set
            {
                if (_z != value)
                {
                    _z = value;
                    PropertyChanged.Notify(() => X);
                }
            }
        }

#endregion

#region INotifyPropertyChanged Members

        public event PropertyChangedEventHandler PropertyChanged;

#endregion

    }
}
